// GACollection_BPA.cpp: implementation of the CGACollection_BPA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "../../Include/Swi/GACollection_BPA.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CGACollection_BPA::CGACollection_BPA()
{

}

CGACollection_BPA::~CGACollection_BPA()
{

}

CGA_BPA* CGACollection_BPA::GetFirstGA()
{
	return (CGA_BPA*)CCardCollection_BPA::GetFirstCard();
}

CGA_BPA* CGACollection_BPA::Traverse(CGA_BPA *pGA, int nDirection)
{
	return (CGA_BPA*)CCardCollection_BPA::Traverse(pGA,nDirection);
}

CGA_BPA* CGACollection_BPA::GetGA(char *strBusName, double dkV, char nID)
{
	CGA_BPA tempGA;
	strcpy(tempGA.m_strName,strBusName);
	tempGA.m_dkV = dkV;
	tempGA.m_chID = nID;
	return (CGA_BPA*)CCardCollection_BPA::GetCard(&tempGA);
}